EinhugurUUIDv7 Class
A class to generate and manage version 7 UUID’s.
Object
EinhugurUUIDv7
class EinhugurUUIDv7
Constructors
Methods
shared NewUUID | Generates new EinhugurUUIDv7 instance without passing previous UUID down. |
shared NewUUID | Generates new EinhugurUUIDv7 instance, taking in previous UUID for for sequencing. |
Operator_Compare | Compares if two EinhugurUUIDv7 instances are equal by using the Xojo comparison operators. |
ToString | Gets string representation of the UUID. |
Examples
Generate just one UUID v7:
var id as String = EinhugurUUIDv7.NewUUID().ToString()
Generate 100 sequenced UUID v7:
var ids(-1) as String
var id as EinhugurUUIDv7
for I as Integer = 1 to 100
id = EinhugurUUIDv7.NewUUID(id)
ids.Add(id.ToString())
next
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bitiOS